package com.easyjop.mappers;

import org.apache.ibatis.annotations.Param;

/**
 * 考试题目 数据库操作接口
 */
public interface ExamQuestionMapper<T,P> extends BaseMapper<T,P> {

	/**
	 * 根据QuestionId更新
	 */
	 Integer updateByQuestionId(@Param("bean") T t,@Param("questionId") Integer questionId);


	/**
	 * 根据QuestionId删除
	 */
	 Integer deleteByQuestionId(@Param("questionId") Integer questionId);


	/**
	 * 根据QuestionId获取对象
	 */
	 T selectByQuestionId(@Param("questionId") Integer questionId);


	T showDetailNext(@Param("query") P p);
}
